package com.rul.mars.mbg.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 订单参数信息
 *
 * @author RuL
 */
@Data
public class OrderParam {

    @ApiModelProperty(value = "商品ID", required = true)
    private Long productId;

    @ApiModelProperty(value = "商品数量")
    private Integer productNumber;

    @ApiModelProperty(value = "取件方式 0:到店自取 1:送货上门")
    private Byte pickupType;

    @ApiModelProperty(value = "订单类型 0:直接购买 1:租后购买")
    private Byte orderType;

    @ApiModelProperty(value = "收件地址ID")
    private Long receiveAddressId;
}
